import { get, post } from '../../utils/request';

module.exports = {
  index: () => {
    return get('cash')
  },

  apply: (amount) => {
    return post('cash/apply', {
      amount: amount
    })
  },

  order: (data) => {
    return get('cash/order', data)
  }
}
